package com.itheima.day01.homework5;
//属性：学员编号、姓名、性别、年龄、所在班级
public class JL extends Person{
    private String classA;

    public JL() {

    }

    public JL(String id, String name, String sex, int age, String classA) {
        super(id, name, sex, age);
        this.classA = classA;
    }

    @Override
    public void eat() {
        System.out.println("吃营养餐");
    }

    public String getClassA() {
        return classA;
    }

    public void setClassA(String classA) {
        this.classA = classA;
    }
}
